#!/usr/bin/env node

//修改文件权限

const fs = require('fs'),
      src = process.argv[2],
      mod = process.argv[3];//二进制表示的权限

// ./15-chmod.js file mod

fs.chmodSync(src, mod);


